Fix memory leak in gdkscreen-x11
authorCarlos Garcia Campos <carlosgc@gnome.org>
Fri, 10 Apr 2009 04:14:23 +0000 (00:14 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 10 Apr 2009 04:14:23 +0000 (00:14 -0400)
commit5261d14d6fe77972b8dde6b647486437715fb353
treee37a290e37e0d29133936fdd7955f69863c166c1
parentf0b4779d56fa331bf1b4ebb9b1d1400be77be4a3
Fix memory leak in gdkscreen-x11

When RandR 1.2 X driver doesn't return any usable multihead data the
monitors array is freed, without freeing the memory allocated by the array
elements before. Fixes bug #578354
gdk/x11/gdkscreen-x11.c